﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DefaultStyle.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Dack_Web2.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tDealCrawler">
        <div id="tDealSponsor" style="width: 620px;">
            <asp:DataList ID="DTDeal" runat="server" BackColor="White" 
                BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                GridLines="Vertical" Height="113px" RepeatColumns="3">
                <AlternatingItemStyle BackColor="#DCDCDC" />
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                <ItemStyle BackColor="#EEEEEE" ForeColor="Black" />
                <ItemTemplate>
                    <div class="gallery">
                        <asp:HyperLink ID="HyperLink2" runat="server" ImageUrl='<%# "~/Images/SanPhamSmall/" + Eval("HinhGioiThieu") %>' NavigateUrl='<%# "~/Images/SanPham/" + Eval("HinhGioiThieu") %>'>HyperLink</asp:HyperLink>
                    </div>
                    <br />
                    Tên sản phẩm:
            <b><asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%# "~/ThongTinSanPham.aspx?MaSanPham="+Eval("MaSanPham") %>' Text='<%# Eval("TenSanPham") %>'></asp:HyperLink></b>
                    <br />
                    <br />
                    Ngày kết thúc :&nbsp;
            <asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="#3333FF" Text='<%# string.Format("{0:dd/MM/yyyy}",Eval("NgayKetThuc")) %>'></asp:Label>
                    <br />
                    <br />
                    Giá gốc:<asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="#CC3300" Text='<%# Eval("GiaSanPham") %>'></asp:Label>
                    <br />
                    <br />
                    Giảm còn:
            <asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="#CC3300" Text='<%# Eval("DaGiam") %>'></asp:Label>
                </ItemTemplate>
                <SelectedItemStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            </asp:DataList>
            <center>
            <asp:Panel ID="Panel1" runat="server">
            </asp:Panel>
            </center>
        </div>
    </div>
</asp:Content>
